home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
EnigmA Amiga Run 1996 March
/
EnigmA AMIGA RUN 05 (1996)(G.R. Edizioni)(IT)[!][issue 1996-03][Skylink CD IV].iso
/
earcd
/
music
/
omdpt123.lha
/
OMED_PT123.lzx
/
rexx
/
Cut.omed
< prev
next >
Wrap
Text File
|
1979-08-12
|
647b
|
32 lines
/* Cut ranged notes and store rangespecs - Case 04-11-95 */
address OCTAMED_REXX
options results
'rn_isranged var rn_state'
if rn_state = 0
then do
'wi_Showstring "Please select range first"'
exit
end
else
'rn_getrangestartline'; rnstartline = result
'rn_getrangeendline'; rnendline = result
length = rnendline - rnstartline
length = length + 1
call open("rn_length","T:rn_length.omedtemp",W)
call writech("rn_length",length)
call close("rn_length")
call open("rn_lines","T:rn_lines.omedtemp",W)
call writeln("rn_lines",rnstartline)
call writeln("rn_lines",rnendline)
call close("rn_lines")
'rn_cut'
'wi_showstring CUT'
exit